<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>投票成功</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="__PUBLIC__/weixin/style/reset.css">
<link rel="stylesheet" href="__PUBLIC__/weixin/style/loading.css">
</head>
<body style="background-color:#ededed">
<div id="page1">
	<div id="success">
		<img class="apply1_i1" src="__PUBLIC__/weixin/images/logo.png" alt="">
		<div class="xinxi">提名成功</div>
        <div style="text-align:center; width:90%; margin-left:10%">
		<img class="succ_bg" style="margin-top:30px" src="__PUBLIC__/weixin/images/success.png" alt="">
     </div>
    <img class="xuccimg" src="__PUBLIC__/weixin/images/toup.jpg" alt="">
    <h4 class="h1css" style="font-size:20px">提名成功</h4>
    <h5 style="display:{$dis}">获得20积分</h5>
    <strong>我已参与2014中国年度最佳雇主提名！我提名的是：</strong>
    <h3>
    1.{$rs.votes1}<br/>
    2.{$rs.votes2}<br/>
    3.{$rs.votes3}</h3>
    <a href="http://www.subaoming.cn/zhilian/index.php/Index/vote">
        <div id="Save_Game4" style="background-color:#ef851e">
            我也要提名
        </div>
    </a>
	</div>
</div>
</body>
</html>
<script src="http://cdn.bootcss.com/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
function ShowWeiXinShareTips(page) {
	var div = '<div id="WeiXinShareTips" onclick="javascript:this.remove()" style="position: absolute;z-index: 1000;left: 0; top: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, .6);position: fixed; right:0"><img src="http://www.subaoming.cn/xiaoju/Public/Images/9.png" style="float:right" width="165"/></div>';
	$(page).append(div);
}
document.addEventListener("WeixinJSBridgeReady",function() {
	WeixinJSBridge.call("hideToolbar");
});
var herf=document.location.href;
var dataForWeixin = {
    appId: "",
    MsgImg:"http://www.subaoming.cn/zhilian/Public/weixin/images/zjgzfx_03.jpg",
    TLImg: "http://www.subaoming.cn/zhilian/Public/weixin/images/zjgzfx_03.jpg",
    url: "http://www.subaoming.cn/zhilian/index.php/Index/votes_success?id=<php>echo $_GET['id']</php>",
    title: "我刚提名了2014中国年度最佳雇主，快去写下你心中的最佳雇主！",
    desc: "【HR公会】:感谢您参与2014年度最佳雇主提名！参与提名的是：1.{$rs.votes1}2.{$rs.votes2}3.{$rs.votes3}",
    fakeid: "",
    callback: function() {
		
	}
}; 
(function() {
    var onBridgeReady = function() {
        WeixinJSBridge.on('menu:share:appmessage',
        function(argv) {
            WeixinJSBridge.invoke('sendAppMessage', {
                "appid": dataForWeixin.appId,
                "img_url": dataForWeixin.MsgImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) { (dataForWeixin.callback)()
            })
        });
        WeixinJSBridge.on('menu:share:timeline',
        function(argv) { (dataForWeixin.callback)();
            WeixinJSBridge.invoke('shareTimeline', {
                "img_url": dataForWeixin.TLImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) {})
        });
        WeixinJSBridge.on('menu:share:weibo',
        function(argv) {
            WeixinJSBridge.invoke('shareWeibo', {
                "content": dataForWeixin.title,
                "url": dataForWeixin.url
            },
            function(res) { (dataForWeixin.callback)()
            })
        });
        WeixinJSBridge.on('menu:share:facebook',
        function(argv) { (dataForWeixin.callback)();
            WeixinJSBridge.invoke('shareFB', {
                "img_url": dataForWeixin.TLImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) {})
        })
    };
    if (document.addEventListener) {
        document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false)
    } else if (document.attachEvent) {
        document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
        document.attachEvent('onWeixinJSBridgeReady', onBridgeReady)
    }
})();
</script>